import request from '@/utils/request'

// /bookkeeping/base/getUserInfo
export function getUserInfo() {
  return request({
    url: '/bookkeeping/base/getUserInfo',
    method: 'get'
  })
}
// 获取省市区数据 /bookkeeping/region/getRegionList
export function getRegionList(id) {
  return request({
    url: '/bookkeeping/region/getRegionList?id=' + id,
    method: 'get'
  })
}
// 获取经营类型和单位
export function getManagementType(id) {
  return request({
    url: '/bookkeeping/base/getManagementType?id=' + id,
    method: 'get'
  })
}
// 提交 /bookkeeping/base/updateUserInfo
export function updateUserInfo(data) {
  return request({
    url: '/bookkeeping/base/updateUserInfo',
    method: 'post',
    data
  })
}
// 意见反馈提交
export function feedback(data) {
  return request({
    url: '/bookkeeping/base/feedback',
    method: 'post',
    data
  })
}

